package components.toolbar
{
	import capricornus.components.window.Window;
	
	import flash.display.DisplayObjectContainer;
	import flash.display.Sprite;
	
	internal class ToolBarView extends Window
	{
		public var mcNext:Sprite;
		
		public function ToolBarView(owner:DisplayObjectContainer)
		{
			super(owner);
			init();
		}
		
		private function init():void
		{
			panel = new ToolbarPanel();
			
			mcNext = panel.getChildByName("btnnext") as Sprite;
			mcNext.mouseChildren = false;
			mcNext.buttonMode = true;
		}
	}
}